package cc.customer.system.dao;

import cc.customer.common.config.MyMapper;
import cc.customer.system.domain.MyUser;
import cc.customer.system.domain.UserWithRole;

import java.util.List;

public interface UserMapper extends MyMapper<MyUser> {
    
    List<MyUser> findUserWithDept(MyUser user);

    List<MyUser> findUserWithDeptAllUser(MyUser user);

    List<UserWithRole> findUserWithRole(Long userId);

    MyUser findUserProfile(MyUser user);

    List<MyUser> findUserByDepid(String deptid);

    MyUser selectByCode(String code);

    String selectDeptid(String userid);

    List<MyUser> selectAllUser();

    MyUser selectUserDetailByUuid(String userid);


}